//
//  UITextField+RAC.h
//  高仿暴走斗图
//
//  Created by huangsongyao on 16/3/26.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UITextField (RAC)

/**
 *  rac 创建textField
 *
 *  @param borderWidth     边框宽度
 *  @param textAlignment   字体对其
 *  @param returnKeyType   return按钮类型
 *  @param textColor       字体颜色
 *  @param backgroundColor 背景色
 *  @param font            字体大小
 *  @param keyboardType    键盘类型
 *  @param completion      text change 委托关联的block
 *
 *  @return UITextField对象
 */
+ (UITextField *)rac_createTextFieldForBorderWidth:(CGFloat)borderWidth textAlignment:(NSTextAlignment)textAlignment returnKeyType:(UIReturnKeyType)returnKeyType textColor:(UIColor *)textColor backgroundColor:(UIColor *)backgroundColor font:(UIFont *)font keyboardType:(UIKeyboardType)keyboardType signalCompletion:(void(^)(id x))completion;

@end
